package com.credithc.signature.common.ro.facade;

import com.credithc.signature.common.constant.FacadeConstant;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 描述：签章Rest请求<br/>
 * 作者：sunyang
 * 创建：2019/5/30 16:31
 * 版本：v1.0.0<br/>
 */
@Data
public class RestSignatureReq {

    @NotBlank(message = "channelNo" + FacadeConstant.ALARM_NULL)
    private String channelNo;

    @NotBlank(message = "templateNo" + FacadeConstant.ALARM_NULL)
    private String templateNo;

    @NotNull(message = "needSign" + FacadeConstant.ALARM_NULL)
    private Boolean needSign;

    @NotBlank(message = "callBackUrl" + FacadeConstant.ALARM_NULL)
    private String callBackUrl;

    @NotNull(message = "requestData" + FacadeConstant.ALARM_NULL)
    private RequestData requestData;

    @NotBlank(message = "encryptKey" + FacadeConstant.ALARM_NULL)
    private String encryptKey;

}
